Skip to content

amazon-science/cmaxent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Causal Maximum Entropy (CMAXENT) in Python

This module implements a set of functions to perform MAXENT from a causal perspective.

Usage

The code here can be used to reproduce the results in the publication Obtaining Causal Information by Merging Datasets with MAXENT. The parts of the plots using KCI are, unfortunately, not available. To reproduce the results in the article create a python 3.6+ environment, pip install all the requirements.txt file and export the cmaxent folder to your python path (when the environment is activated) in your command line, like this:

export PYTHONPATH="/directions/to/the/folder/cmaxent"

Finally, you should make sure that there is a results folder inside the experiments folder. Then you can reproduce all the results as easy as running the individual experiment files. For example, for the ROC curves, you can run in your command line:

python3 ./experiments/polynomial_experiment.py

Reference

If you use this code in your own research, please cite our paper

Garrido Mejia, S.H., Kirschbaum, E. and Janzing, D., 2022, May. Obtaining causal information by merging datasets with maxent. In International Conference on Artificial Intelligence and Statistics (pp. 581-603). PMLR.

Further reading:

If you are interested in the origins of our work, we recommend the following readings, in addition to our AISTATS article:

From a non-causal perspective:

From a causal perspective:

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

About

Maximum entropy from a causal perspective

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages